<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<include file="Common:cssjs" />
</head>
<body>
<div class="subnav">
  <div class="content-menu ib-a blue line-x">
  <a href='javascript:;' class="on"><em>修改个人信息</em></a><span>|</span> 
  <a href='{:U("Adminmanage/chanpass")}' ><em>修改密码</em></a> 
  </div>
</div>
<style type="text/css">
	html{_overflow-y:scroll}
</style>
<script type="text/javascript">
  $(document).ready(function() {
	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
	$("#email").formValidator({onshow:"请输入E-mail",onfocus:"E-mail格式错误",oncorrect:"E-mail格式正确"}).regexValidator({regexp:"email",datatype:"enum",onerror:"E-mail格式错误"});
	$("#nickname").formValidator({onshow:"请输入真实姓名。",onfocus:"长度在6到20"}).inputValidator({min:4,max:20,onerror:"密码应该为6-20位之间"});

  })
</script>
<div class="pad_10">
  <div class="common-form">
    <form name="myform" action="{:U("Adminmanage/myinfo")}" method="post" id="myform">
      <input type="hidden" name="id" value="{$data.id}">
      </input>
      <input type="hidden" name="username" value="{$data.username}">
      </input>
      <table width="100%" class="table_form contentWrap">
        <tr>
          <td width="80">用户名</td>
          <td>{$data.username}</td>
        </tr>
        <tr>
          <td>姓名</td>
          <td><input type="text" name="nickname" value="{$data.nickname}" class="input-text" id="nickname" size="30">
            </input></td>
        </tr>
        <tr>
          <td>E-mail</td>
          <td><input type="text" name="email" value="{$data.email}" class="input-text" id="email" size="30">
            </input></td>
        </tr>
        <tr>
          <td>备注</td>
          <td><textarea name="remark" rows="2" cols="20" id="remark" class="inputtext" style="height:100px;width:500px;">{$data.remark}</textarea></td>
        </tr>
      </table>
      <div class="bk15"></div>
      <input name="dosubmit" type="submit" value="提交" class="button" id="dosubmit">
    </form>
  </div>
</div>
</body>
</html>